\hypertarget{classduye_1_1_library}{\section{duye\-:\-:Library Class Reference}
\label{classduye_1_1_library}\index{duye\-::\-Library@{duye\-::\-Library}}
}


{\ttfamily \#include $<$duye\-\_\-library.\-h$>$}

\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static void $\ast$ \hyperlink{classduye_1_1_library_abc2f677e69863081a6ec2ac21ef30ae5}{open} (const int8 $\ast$lib\-Path, const int32 flags=R\-T\-L\-D\-\_\-\-L\-A\-Z\-Y)
\begin{DoxyCompactList}\small\item\em load shared library \end{DoxyCompactList}\item 
static bool \hyperlink{classduye_1_1_library_af8ce7fea4bfcf95c04ad7df3f2b68012}{close} (void $\ast$handle)
\begin{DoxyCompactList}\small\item\em close shared library \end{DoxyCompactList}\item 
static void $\ast$ \hyperlink{classduye_1_1_library_af03b05605d1a92bae60f24e417488514}{get\-Sym} (void $\ast$handle, const int8 $\ast$enter)
\begin{DoxyCompactList}\small\item\em get function address \end{DoxyCompactList}\end{DoxyCompactItemize}


\subsection{Detailed Description}
shared G\-Library wrapper 

\subsection{Member Function Documentation}
\hypertarget{classduye_1_1_library_af8ce7fea4bfcf95c04ad7df3f2b68012}{\index{duye\-::\-Library@{duye\-::\-Library}!close@{close}}
\index{close@{close}!duye::Library@{duye\-::\-Library}}
\subsubsection[{close}]{\setlength{\rightskip}{0pt plus 5cm}static bool duye\-::\-Library\-::close (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{handle}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_library_af8ce7fea4bfcf95c04ad7df3f2b68012}


close shared library 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em handle} & \-: lib handle \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
ture/false 
\end{DoxyReturn}
\hypertarget{classduye_1_1_library_af03b05605d1a92bae60f24e417488514}{\index{duye\-::\-Library@{duye\-::\-Library}!get\-Sym@{get\-Sym}}
\index{get\-Sym@{get\-Sym}!duye::Library@{duye\-::\-Library}}
\subsubsection[{get\-Sym}]{\setlength{\rightskip}{0pt plus 5cm}static void$\ast$ duye\-::\-Library\-::get\-Sym (
\begin{DoxyParamCaption}
\item[{void $\ast$}]{handle, }
\item[{const int8 $\ast$}]{enter}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_library_af03b05605d1a92bae60f24e417488514}


get function address 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em handle} & \-: lib handle \\
\hline
\mbox{\tt in}  & {\em enter} & \-: function name \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
function address 
\end{DoxyReturn}
\hypertarget{classduye_1_1_library_abc2f677e69863081a6ec2ac21ef30ae5}{\index{duye\-::\-Library@{duye\-::\-Library}!open@{open}}
\index{open@{open}!duye::Library@{duye\-::\-Library}}
\subsubsection[{open}]{\setlength{\rightskip}{0pt plus 5cm}static void$\ast$ duye\-::\-Library\-::open (
\begin{DoxyParamCaption}
\item[{const int8 $\ast$}]{lib\-Path, }
\item[{const int32}]{flags = {\ttfamily RTLD\-\_\-LAZY}}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily [static]}}}\label{classduye_1_1_library_abc2f677e69863081a6ec2ac21ef30ae5}


load shared library 


\begin{DoxyParams}[1]{Parameters}
\mbox{\tt in}  & {\em lib\-Path} & \-: library path \\
\hline
\mbox{\tt in}  & {\em flags} & \-: R\-T\-L\-D\-\_\-\-L\-A\-Z\-Y$|$\-R\-T\-L\-D\-\_\-\-N\-O\-W \\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
lib handle 
\end{DoxyReturn}
\begin{DoxyNote}{Note}

\end{DoxyNote}


The documentation for this class was generated from the following file\-:\begin{DoxyCompactItemize}
\item 
Z\-:/duye/src/duyebase/system/\hyperlink{duye__library_8h}{duye\-\_\-library.\-h}\end{DoxyCompactItemize}
